strings.Builder.buf (field)
22 uses
strings (current package)
builder.go#L18: buf []byte
builder.go#L49: return unsafe.String(unsafe.SliceData(b.buf), len(b.buf))
builder.go#L53: func (b *Builder) Len() int { return len(b.buf) }
builder.go#L58: func (b *Builder) Cap() int { return cap(b.buf) }
builder.go#L63: b.buf = nil
builder.go#L69: buf := bytealg.MakeNoZero(2*cap(b.buf) + n)[:len(b.buf)]
builder.go#L70: copy(buf, b.buf)
builder.go#L71: b.buf = buf
builder.go#L82: if cap(b.buf)-len(b.buf) < n {
builder.go#L91: b.buf = append(b.buf, p...)
builder.go#L99: b.buf = append(b.buf, c)
builder.go#L107: n := len(b.buf)
builder.go#L108: b.buf = utf8.AppendRune(b.buf, r)
builder.go#L109: return len(b.buf) - n, nil
builder.go#L116: b.buf = append(b.buf, s...)
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |